package com.edu.dao;

import com.edu.pojo.Announcement;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * 添加公告
 * 查询公告
 * 删除公告
 * 更新公告
 */
public interface AnnouncementMapper {
    int addAnnoun(Announcement announcement);

    List<Announcement> queryAllAnnoun();

    int deleteAnnounById(@Param("AnID") int id);

    int updateAnnoun(Announcement announcement);


}
